package com.example.demo.service;

import java.util.List;

import javax.persistence.Entity;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.example.demo.custom.BaseService;
import com.example.demo.entity.AfterSalefront;
import com.example.demo.entity.AfterSalefront2;
import com.example.demo.repository.AfterSalefront2Repository;

@Service
public class AfterSalefront2Service extends BaseService<AfterSalefront2, Integer>{

	@Autowired
	private AfterSalefront2Repository afterDao;
	
	public List<AfterSalefront2> findByAfterSalefront(AfterSalefront sale1) {
		
		return afterDao.findByAfterSalefront(sale1);
	}
	 

}
